projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02e82d6
)
stylecontext: add an "image" style class
author
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 25 May 2011 01:29:20 +0000
(21:29 -0400)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 9 Jun 2011 21:17:09 +0000
(23:17 +0200)
For images such as icons in GtkEntry widgets.
gtk/gtkstylecontext.h
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.h
b/gtk/gtkstylecontext.h
index 1a29c5174c2f361ca034839ffa777ae35f4571db..8d8f51153fffe6d762b25e1159eeaf6889e8b75a 100644
(file)
--- a/
gtk/gtkstylecontext.h
+++ b/
gtk/gtkstylecontext.h
@@
-400,6
+400,13
@@
struct _GtkStyleContextClass
*/
#define GTK_STYLE_CLASS_SIDEBAR "sidebar"
+/**
+ * GTK_STYLE_CLASS_IMAGE:
+ *
+ * A widget class defining an image, such as the icon in an entry.
+ */
+#define GTK_STYLE_CLASS_IMAGE "image"
+
/**
* GTK_STYLE_CLASS_HIGHLIGHT:
*